##################################################################################
ReadMe

Replication files for:

Introducing COMEPELDA: Comprehensive European Parliament electoral data covering rules, parties and candidates

European Union Politics. https://doi.org/10.1177%2F14651165211053439

by:
Thomas Däubler (thomas.daubler@ucd.ie)
Mihail Chiru
Silje Synnøve Lyder Hermansen
##################################################################################


The three CSV files from the COMEPELDA collection are available from https://doi.org/10.7910/DVN/GNRMTO 

Most of the results for the article are produced in main_script.R.

An exception is the analysis of the link between activities and re-selection in the last part of the article, which are partly done in STATA. The workflow for that is as follows:

1) Using the COMEPELDA files and reselection_externaldata.dta, reselection_preparedata.do creates a new dataset called reselection_foranalysis.dta.
2) reselection_regressions.do uses reselection_foranalysis.dta to run the models and to create reselection_dataforgraph.dta.
3) Figure 5 is created in main_script.R using reselection_dataforgraph.dta.

